<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
<%@ taglib uri="/tags/struts-html" prefix="html"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<%@ taglib uri="/tags/core" prefix="c"%>

<p class="etiqueta_campo">
<html:form action="/saveStorageConfiguration" method="POST">	
<center>
	<table cellpadding="2" cellspacing="1" border="0" bgcolor="#CCCCC0">
		<tr>
			<th colspan="4" align="center" class="titulocolumna"> <bean:message key="label.versions.values.breadcrum" /> </th>			 
		</tr>
		<tr>
				<td class="etiqueta" style="text-align: left;" colspan="2">
				</td>
				<td class="etiqueta" style="text-align: center;">
					<bean:message key="label.versions.values.numeric.value" />
				</td>
				<td class="etiqueta" style="text-align: center;">
					<bean:message key="label.versions.values.text.value" />
				</td>
		</tr>
		<logic:iterate id="row" name="VersionsValuesForm" property="versionsValuesList" indexId="int_i" >		
			<tr>
				<td class="etiqueta_campo" style="text-align: left;">
					<bean:write name="row" property="versionValueId"/>
				</td>
				<td class="etiqueta_campo" style="text-align: left;">							
					<bean:write name="row" property="description"/>
				</td>
				<td class="etiqueta_campo" style="text-align: left;">
					<input class="columnanumero"  value="<bean:write name="row" property="numericValue"/>" type="text" name="versionsValuesList[<%=int_i.intValue()%>].numericValue" onfocus="this.select();" onkeydown="return (numeric(event, 1) && noPaste(event, this));" onkeyup="extractNumber(this,4,false);">
				</td>
				<td class="etiqueta_campo" style="text-align: left;"> 										
					<input class="columnanumero" value="<bean:write name="row" property="stringValue"/>" onfocus="this.select();" type="text" name="versionsValuesList[<%=int_i.intValue()%>].stringValue">										
				</td>		
			</tr>
		</logic:iterate>
		<tr>		
			<td align="right" colspan="4" class="titulo_lista_interna">
					<input type="submit" value="Guardar" class="boton" />&nbsp;				
          		<html:button property="back" onclick="location.href ='showVersionDetail.do'" styleClass="boton"><bean:message key="label.common.cancel"/></html:button>&nbsp;
			</td>
		</tr>							
	</table>
</center>
</html:form>
</p>